API Documentation
ObjMeshDecoder.h
1 // ObjMeshDecoder.h
3 //
5 
6 namespace nkGraphics
7 {
11  class ObjMeshDecoder final : public MeshDecoder
12  {
13  public :
14 
23 
27  virtual bool canDecode (const nkMemory::StringView& sources) override ;
31  virtual bool decode (const nkMemory::StringView& sources, Mesh* outMesh) override ;
32  } ;
33 }
nkGraphics::ObjMeshDecoder::decode
virtual bool decode(const nkMemory::StringView &sources, Mesh *outMesh) override
nkGraphics::ObjMeshDecoder::canDecode
virtual bool canDecode(const nkMemory::StringView &sources) override
nkGraphics::ObjMeshDecoder::~ObjMeshDecoder
~ObjMeshDecoder()
nkGraphics::ObjMeshDecoder
A decoder that can handle obj files.
Definition: ObjMeshDecoder.h:12
nkMemory::StringView
Class holding information about a string, with no ownership over the data.
Definition: StringView.h:22
nkGraphics::MeshDecoder
Base class for a mesh data decoder.
Definition: MeshDecoder.h:12
nkGraphics::ObjMeshDecoder::ObjMeshDecoder
ObjMeshDecoder()
nkGraphics
Encompasses all API of component NilkinsGraphics.
Definition: BoundingBox.h:7
nkGraphics::Mesh
Holds information about a mesh. Used as a basis to render 3d models.
Definition: Mesh.h:15